//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Set It Off','The Bluestone','Columbus, OH','Tuesday','4/30/2024','5:30 PM','6116994','Set-It-Off-4-30-2024'],['Asking Alexandria','The Bluestone','Columbus, OH','Wednesday','5/1/2024','6:30 PM','6205398','Asking-Alexandria-5-1-2024'],['Chayce Beckham','The Bluestone','Columbus, OH','Thursday','5/2/2024','7:00 PM','6226640','Chayce-Beckham-5-2-2024'],['Kamelot','The Bluestone','Columbus, OH','Friday','5/3/2024','7:00 PM','6215907','Kamelot-5-3-2024'],['Thievery Corporation','The Bluestone','Columbus, OH','Friday','5/10/2024','7:00 PM','6227941','Thievery-Corporation-5-10-2024'],['The Prince Experience - Prince Tribute','The Bluestone','Columbus, OH','Saturday','5/11/2024','7:00 PM','6256040','The-Prince-Experience---Prince-Tribute-5-11-2024'],['Chicano Batman','The Bluestone','Columbus, OH','Wednesday','5/15/2024','7:00 PM','6232063','Chicano-Batman-5-15-2024'],['Nolan Taylor','The Bluestone','Columbus, OH','Friday','5/17/2024','7:00 PM','6248255','Nolan-Taylor-5-17-2024'],['Gavin DeGraw','The Bluestone','Columbus, OH','Sunday','5/19/2024','7:00 PM','6261893','Gavin-DeGraw-5-19-2024'],['Motion City Soundtrack','The Bluestone','Columbus, OH','Wednesday','5/29/2024','8:00 PM','6305075','Motion-City-Soundtrack-5-29-2024'],['Collective Soul','The Bluestone','Columbus, OH','Tuesday','6/4/2024','7:00 PM','6317248','Collective-Soul-6-4-2024'],['Dexter and The Moonrocks','The Bluestone','Columbus, OH','Friday','6/14/2024','7:00 PM','6360163','Dexter-and-The-Moonrocks-6-14-2024'],['Band of Horses','The Bluestone','Columbus, OH','Tuesday','6/18/2024','7:00 PM','6381323','Band-of-Horses-6-18-2024'],['Allen Stone','The Bluestone','Columbus, OH','Wednesday','6/19/2024','7:00 PM','6306932','Allen-Stone-6-19-2024'],['The Wallflowers','The Bluestone','Columbus, OH','Sunday','6/30/2024','7:00 PM','6266494','The-Wallflowers-6-30-2024'],['The Red Clay Strays','The Bluestone','Columbus, OH','Wednesday','7/10/2024','7:00 PM','6250068','The-Red-Clay-Strays-7-10-2024'],['The Red Clay Strays','The Bluestone','Columbus, OH','Thursday','7/11/2024','7:00 PM','6250069','The-Red-Clay-Strays-7-11-2024'],['Wilderado','The Bluestone','Columbus, OH','Saturday','7/27/2024','7:00 PM','6330658','Wilderado-7-27-2024'],['The Old 97's','The Bluestone','Columbus, OH','Thursday','8/1/2024','7:00 PM','6343212','The-Old-97-s-8-1-2024'],['Bowling for Soup','The Bluestone','Columbus, OH','Friday','8/2/2024','6:30 PM','6241076','Bowling-for-Soup-8-2-2024'],['The Taylor Party','The Bluestone','Columbus, OH','Saturday','8/24/2024','8:00 PM','6399046','The-Taylor-Party-8-24-2024'],['Lawrence','The Bluestone','Columbus, OH','Sunday','10/27/2024','7:00 PM','6229477','Lawrence-10-27-2024'],['Mickey Guyton','The Bluestone','Columbus, OH','Wednesday','10/30/2024','6:30 PM','6408136','Mickey-Guyton-10-30-2024'],['Dylan Gossett','The Bluestone','Columbus, OH','Tuesday','11/19/2024','7:00 PM','6396763','Dylan-Gossett-11-19-2024']],'The Bluestone','http://www.ticketnetwork.com/ticket/The-Bluestone-events.aspx');